package com.xinzhilibrary.service;

import com.xinzhilibrary.model.Result;
import com.xinzhilibrary.model.UserInfo;

import javax.annotation.Resource;

@Resource
public interface CheckUserInfoService {
    Result checkUserName(String userName, String token);

    Result userLogin(String userName, String userPassword);

    Result selectAllUser(String token);

    Result userRegister(UserInfo userInfo, String token);
    Result addUserMoney(double money, String userName,String token);
    Result updateUserInfo(UserInfo userInfo,String token);
}
